$(function(){
	$(".fenxiang").on("click", show_share);
	$(".meng2").on("click", hide_share);
	$(".company_content_you_more span").on("click", selectText);
	
});

function show_share(){
	$(".meng").show();
//  $(".top,.banner,.main").css("background-color","#7F7F7F");
    $(".top,.banner,.main").css("opacity","0.65");
    $(".menghui").show();
}
function hide_share(){
	$(".meng").hide();
//	$(".top,.banner,.main").css("background-color","inherit");
	$(".top,.banner,.main").css("opacity","1");
	$(".menghui").hide();
	
}

var number = 0;
function selectText(){
	if(number==0){
		showText();
		number =1;
	}else if(number==1){
		hideText();
		number =0;
		
	}
}


function showText(){
	$(".contentcompany").css("-webkit-line-clamp","inherit");
	$(".moreText").text("收起");
	var img = "<img " + "src='../../../img/app/occupational_experience/detailed_information/xiajianto01.png'/>"
	$(".moreText").append(img);
}

function hideText(){
	$(".contentcompany").css("-webkit-line-clamp","2");
	$(".moreText").text("展开");
	var img = "<img " + "src='../../../img/app/occupational_experience/detailed_information/zhankai.png'/>"
	$(".moreText").append(img);
}
/*
    background-color: #7F7F7F;
    opacity: 0.5;
    z-index: 999;
 */